package com.example.springboot.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class JspController {

    @RequestMapping(value = "/jsp")
    public String jsp(Model model) {
        model.addAttribute("data","SpringBoot前端使用JSP页面");

        return "index";
    }
}
